package com.crawler.pojo;

/**
 * 页面类型
 */
public enum PageType {
	
	PAGE_FIRSTLOGIN(1,"https://passport.jd.com/new/login.aspx?ReturnUrl=http%3A%2F%2Fwww.jd.com%2F",""),
	PAGE_LOGIN(2,"",""),
	PAGE_ORDER(3,"http://order.jd.com/center/list.action?d=1&s=4096&t=",""),
	PAGE_ORDERDETIAL(4,"",""),
	PAGE_USERINFO(5,"http://i.jd.com/user/info",""),
	PAGE_LOGOUT(6,"https://passport.jd.com/uc/login?ltype=logout","");
	
	private String url;
	private int step;
	private String loginName;
	
	PageType() {
	}
	
	PageType(int step,String url,String loginName) {
		this.step = step;
		this.url = url;
		this.loginName = loginName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getStep() {
		return step;
	}

	public void setStep(int step) {
		this.step = step;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

}
